/**
 * WebLogController.java
 *
 * @author: ZhuJiahui
 * @date: 2018/12/23 20:15
 */
package com.zhujiahui.springboot.aop.first;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;

/**
 * @description:
 * @author: ZhuJiahui
 * @version: 1.0
 */
@RestController
@RequestMapping("/weblog")
public class WebLogController {

    @RequestMapping(value = "/sayHello", method = RequestMethod.GET)
    public String sayHello(String name) {
        return "HELLO " + name;
    }
}
